package com.xbongbong.pro.statistic.result.pojo.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 市场活动，单个指标
 * @author chunyang.qin
 * @version v1.0
 * @date 2020/11/9 16:42
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class MarketActivityEffectDataVO implements Serializable {
    private static final long serialVersionUID = 983584174903717579L;

    /**
     * 指标名称
     */
    private String name;
    /**
     * 指标单位
     */
    private String unit;
    /**
     * 穿透的详情页tab英文名，如果改值为null或空字符串，则不能穿透
     */
    private String detailKey;
    /**
     * 全景指标值
     */
    private String value;

    /**
     * 前端穿透需要用到
     */
    private Integer  throughCode;

    public MarketActivityEffectDataVO(){

    }

    public MarketActivityEffectDataVO(String name,String unit, String detailKey,String value ,Integer throughCode){
        this.name = name;
        this.unit = unit;
        this.detailKey = detailKey;
        this.value = value;
        this.throughCode = throughCode;
    }
}
